//
// Created by wujehy on 2020/4/15.
//

#ifndef TESTSERVER_SERVERCONTEXT_H
#define TESTSERVER_SERVERCONTEXT_H

#include <iostream>

class ServerContext
{
private:
    std::string token;
    std::string username;
    int64_t uid;

    std::string deviceToken;
public:
    int64_t getUid() const;

    void setUid(int64_t uid);

    const std::string &getToken() const;

    void setToken(const std::string &token);

    const std::string &getUsername() const;

    void setUsername(const std::string &username);

    const std::string &getDeviceToken() const;

    void setDeviceToken(const std::string &deviceToken);
};


#endif //TESTSERVER_SERVERCONTEXT_H
